home *** CD-ROM | disk | FTP | other *** search
- Path: arapaho.cse.ucsc.edu!ray
- From: ray@cse.ucsc.edu (Ray Swartz)
- Newsgroups: comp.lang.c++
- Subject: template arg for template function?
- Date: 31 Mar 1996 23:00:33 GMT
- Organization: UC Santa Cruz CIS/CE
- Message-ID: <4jn2qh$3nv@darkstar.UCSC.EDU>
- NNTP-Posting-Host: arapaho.cse.ucsc.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Can a template function take a template argument?
-
- example:
-
- template <class T>
- bool dup(List<T> l, T dupTest)
- { ... }
-
-
- When I did this on my BC4.5 compiler I got an error.
-
- Ray
-
-